<?php

class Random {
    
    private static function make_seed()
    {
            list($usec, $sec) = explode(' ', microtime());
            return (float) $sec + ((float) $usec * 100000);
    }
    
    public static function get_random_num($min,$max) {
            srand(self::make_seed());
            return rand($min, $max);
    }

}